#include <vector>
using namespace std;
class Solution {
public:
	vector<int> constructRectangle(int area) {
		int s = sqrt(area);
		if (area == s*s)
			return { s,s };
		int L = area;
		int W = 1;
		int dif = L-W;
		for(int i=1;i<=s;++i)
		{
			if(area%i==0)
			{
				if (dif>(area / i - i))
				{
					L = area/i;
					W = i;
					dif = L - W;
				}
			}	
		}
		return { L,W };
	}
};
int main()
{
	
}